package com.blinkfox.fenix.consts;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * 常用的 SQL 关键字常量类.
 *
 * @author blinkfox on 20190-08-11.
 * @since v1.0.0
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class SqlKeyConst {

    /**
     * 空格.
     */
    public static final String SPACE = " ";

    /**
     * SELECT.
     */
    public static final String SELECT = "SELECT";

    /**
     * UPDATE.
     */
    public static final String UPDATE = "UPDATE";

    /**
     * DELETE FROM.
     */
    public static final String DELETE_FROM = "DELETE FROM";

    /**
     * INSERT INTO.
     */
    public static final String INSERT_INTO = "INSERT INTO";

    /**
     * VALUES.
     */
    public static final String VALUES = "VALUES";

    /**
     * AS.
     */
    public static final String AS = "AS";

    /**
     * SET.
     */
    public static final String SET = "SET";

    /**
     * FROM.
     */
    public static final String FROM = "FROM";

    /**
     * WHERE.
     */
    public static final String WHERE = "WHERE";

    /**
     * AND.
     */
    public static final String AND = "AND";

    /**
     * OR.
     */
    public static final String OR = "OR";

    /**
     * INNER JOIN.
     */
    public static final String INNER_JOIN = "INNER JOIN";

    /**
     * LEFT JOIN.
     */
    public static final String LEFT_JOIN = "LEFT JOIN";

    /**
     * RIGHT JOIN.
     */
    public static final String RIGHT_JOIN = "RIGHT JOIN";

    /**
     * FULL JOIN.
     */
    public static final String FULL_JOIN = "FULL JOIN";

    /**
     * ON.
     */
    public static final String ON = "ON";

    /**
     * ORDER BY.
     */
    public static final String ORDER_BY = "ORDER BY";

    /**
     * GROUP BY.
     */
    public static final String GROUP_BY = "GROUP BY";

    /**
     * HAVING.
     */
    public static final String HAVING = "HAVING";

    /**
     * ASC.
     */
    public static final String ASC = "ASC";

    /**
     * DESC.
     */
    public static final String DESC = "DESC";

    /**
     * UNION.
     */
    public static final String UNION = "UNION";

    /**
     * UNION ALL.
     */
    public static final String UNION_ALL = "UNION ALL";

    /**
     * LIMIT.
     */
    public static final String LIMIT = "LIMIT";

    /**
     * OFFSET.
     */
    public static final String OFFSET = "OFFSET";

}
